package com.miyu.system.utils.crawler;

import java.util.Arrays;

public class CrawlerUtils {


   /** method*/
   public static String METHOD_GET = "GET";
   public static String METHOD_POST = "POST";

   /** post 参数类型*/
   public static String FORM = "FORM";
   public static String JSON = "JSON";
    /** 书籍章节分表*/
   public static String[] BOOK_CHAPTER =  {"a","b","c","d","e","f","g","h","i","j"};
   /** book缓存路径*/
   public static String REDIS_CACHE_BOOK = "book:crawler:book:";
   /** 收集数据*/
   public static String REDIS_CACHE_BOOK_COLLECT = "book:crawler:book:collect:";
   /** 解析爬虫使用线程*/
   public static int BOOK_CRAWLER_MAX_THREAD = 5;
   /** book_main表对应redis_key生成主键 */
   public static String TABLE_BOOK_MAIN = "book:primary:key:book_main";
   /** book_chapter表对应redis_key生成主键 */
   public static String TABLE_BOOK_CHAPTER = "book:primary:key:book_chapter";
   /** book_main表对应redis_key生成主键 */
   public static String TABLE_BOOK_READER = "book:primary:key:book_reader";


}
